﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace CodePlex.KeyedList.TestProject.TestObjects
{


	[Serializable, DebuggerDisplay("{MyKey} {MyName}")]
	public sealed class KeyedTestClass : IKeyedItem<string>
	{

		public KeyedTestClass()
		{
		}

		public KeyedTestClass(string key, string name)
		{
			this.MyKey = key;
			this.MyName = name;
		}

		public string MyKey { get; set; }

		public string MyName { get; set; }

		
		string IKeyedItem<string>.Key
		{
			get { return this.MyKey; }
		}

	}


}
